package com.ali.framework.payment;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: Smile
 * @Date: 2023/12/13/14:54
 * @Description:
 */
@RestController
@Slf4j
@RequestMapping("/payment")
public class PaymentController {


    @GetMapping("/pay/test/{id}")
    public String test(@PathVariable("id") Long id){
        if (id>0){
            return "请求成功";
        }else{
            return "请求失败";
        }

    }
}
